import Vue from 'vue'
import App from './App.vue'
import router from './router'
import vuetify from './plugins/vuetify'
import VueClipboard from 'vue-clipboard2'
// import toastRegistry from './toast/index'
import toastRegistry from 'toast_demo_based_vue'
import Vue2Editor from "vue2-editor";
import VuetifyDialog from 'vuetify-dialog'
import 'vuetify-dialog/dist/vuetify-dialog.css'


Vue.config.productionTip = false


import http from './http'
Vue.prototype.$http = http
Vue.use(VuetifyDialog, {
  context: {
    vuetify
  }
})
Vue.use(toastRegistry)
Vue.use(Vue2Editor)
Vue.use(VueClipboard)

new Vue({
  router,
  vuetify,
  render: h => h(App)
}).$mount('#app')
